#!/usr/bin/perl

$number = "5";
$exponent = "2 ** 8";
$string = "Hello, PERL!";
$float = 12.39;

# We can also assign a scalar an empty (undefined) value:
$nothing = undef;

# Printing all the above values
print "$number\n"; 
print "$exponent\n";
print "$string\n"; 
print "$float\n"; 
print "There is nothing: $nothing\n"; 


#string scalar
$newline = "Welcome to \ntutorialspoint.com!";
$small = "\uthis, Here t will become capital !";
$ALLCAPS = "\U This completely will become capital!";
$PARTIALCAPS = "\U This half will\E become capital!";
$backslah = "\Q'Hello World'\E!";

print "$newline\n";
print "$small\n";
print "$ALLCAPS\n";
print "$PARTAILCAPS\n";
print "$backslah\n";